widget-factory: Add myself
authorBenjamin Otte <otte@redhat.com>
Mon, 15 Feb 2016 17:06:28 +0000 (18:06 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 15 Feb 2016 17:17:11 +0000 (18:17 +0100)
Actually, I wanted to have a radio toggle cell renderer for testing. But
hey, the commit message is supposed to say the important things!

demos/widget-factory/widget-factory.ui

index ec2cd6032a8464f324cd4050dd6a2515c1e88211..a8df03affd38d0f5e0158db8552601776935b76a 100644 (file)
       <column type="gchararray"/>
       <!-- column-name Nick -->
       <column type="gchararray"/>
+      <!-- column-name isRadio -->
+      <column type="gboolean"/>
     </columns>
     <data>
       <row>
         <col id="1">emblem-default-symbolic</col>
         <col id="2" translatable="yes">Andrea</col>
         <col id="3" translatable="yes">Cimi</col>
+        <col id="4">False</col>
       </row>
       <row>
         <col id="0">False</col>
         <col id="1">emblem-important-symbolic</col>
         <col id="2" translatable="yes">Otto</col>
         <col id="3" translatable="yes">chaotic</col>
+        <col id="4">False</col>
       </row>
       <row>
         <col id="0">True</col>
         <col id="1">weather-clear-night-symbolic</col>
         <col id="2" translatable="yes">Orville</col>
         <col id="3" translatable="yes">Redenbacher</col>
+        <col id="4">False</col>
+      </row>
+      <row>
+        <col id="0">True</col>
+        <col id="1">face-monkey-symbolic</col>
+        <col id="2" translatable="yes">Benjamin</col>
+        <col id="3" translatable="yes">Company</col>
+        <col id="4">True</col>
       </row>
     </data>
   </object>
@@ -1385,6 +1397,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
                                       <object class="GtkCellRendererToggle" id="cellrenderertoggle1"/>
                                       <attributes>
                                         <attribute name="active">0</attribute>
+                                        <attribute name="radio">4</attribute>
                                       </attributes>
                                     </child>
                                   </object>